package com.ssy.lingxi.product.common.enums;

/**
 * 操作类型
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/29
 */
public enum OperationEnum {

    Insert(1, "新增"),
    Update(2, "修改"),
    Check(3, "审核");

    private final Integer code;
    private final String message;

    OperationEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
